package com.nhjf.common.util;

import org.apache.log4j.Logger;

public class LogMessage { 

	static Logger logger = Logger.getLogger("logfile");

	

	/**
	 * log4j写日志
	 * 
	 * @param log
	 */
	public static void logwrite(Class clazz, String log) {
		logger.info(clazz.getCanonicalName()+":"+log);
	}
}
